﻿using System;
using System.Collections.Generic;
using System.Text;
using Xlit.Utility;
using Xunit;

namespace Xlit.UtilityTest
{
    public class GuidUtilTesst
    {
        [Fact]
        public void ToSequentialguidTest()
        {
            var guid = Guid.Parse("629f04e2-58c1-4df5-beff-11cad0c7d272");
            var actual = GuidUtil.ToSequentialguid(guid);
            var expected = "039f5b1255f0f-629f04e2-58c1-4df5-beff-11cad0c7d272";
            Assert.Equal(actual, expected);
        }
    }
}
